home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 19
/
CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso
/
CUCD
/
Programming
/
LEDA
/
incl
/
LEDA.020+881
/
sweep_segments.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-05
|
1KB
|
39 lines
/*******************************************************************************
+
+ LEDA 3.1c
+
+
+ sweep_segments.h
+
+
+ Copyright (c) 1994 by Max-Planck-Institut fuer Informatik
+ Im Stadtwald, 6600 Saarbruecken, FRG
+ All rights reserved.
+
*******************************************************************************/
#ifndef LEDA_SWEEPSEGMENTS_H
#define LEDA_SWEEPSEGMENTS_H
#include <LEDA/plane_graph.h>
//------------------------------------------------------------------------------
// line sweep for straight line segments
//------------------------------------------------------------------------------
void SWEEP_SEGMENTS(const list<segment>&, const list<segment>&,
GRAPH<point,int>&);
void SWEEP_SEGMENTS(const list<segment>&, list<point>&);
inline void SWEEP_SEGMENTS(const list<segment>& L, GRAPH<point,int>& G)
{ list<segment> dummy;
SWEEP_SEGMENTS(L,dummy,G); }
inline void SEGMENT_INTERSECTION(const list<segment>& L, list<point>& P)
{ SWEEP_SEGMENTS(L,P); }
#endif